
/*
 * @Author: your name
 * @Date: 2021-11-01 08:34:16
 * @LastEditTime: 2021-11-03 21:16:21
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \练习\snake\src\types\index.ts
 */
import { Ref } from 'vue'
export type Map = Array<Array<number>>
export interface SnakeHead {
	x: number,
	y: number;
	status: number
}
export type SnakeBody = SnakeHead

export type SnakeBodies = SnakeBody[]

export interface StateType {
	map: Map;
}

export type IsLive = Ref<number>
